package com.xbongbong.pro.opportunity.pojo;

import com.xbongbong.paas.toolbox.wrap.Entity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class StageLogSavePojo extends Entity {

    private static final long serialVersionUID = -5207306646350275621L;

    /**
     * 公司id
     */
    private String corpid;
    /**
     * 表单id
     */
    private Long formId;
    /**
     * 数据id
     */
    private Long dataId;
    /**
     * 流失原因
     */
    private Integer reasonId;
    /**
     * 流失备注
     */
    private String wastageMemo;
    /**
     * 阶段变更相关信息
     */
    private JudgeStageChangedPojo judgeStageChangedPojo;

    public StageLogSavePojo(String corpid, Long formId, Long dataId, JudgeStageChangedPojo judgeStageChangedPojo) {
        this.corpid = corpid;
        this.formId = formId;
        this.dataId = dataId;
        this.judgeStageChangedPojo = judgeStageChangedPojo;
    }

    public StageLogSavePojo(String corpid, Long formId, Long dataId, Integer reasonId, String wastageMemo, JudgeStageChangedPojo judgeStageChangedPojo) {
        this.corpid = corpid;
        this.formId = formId;
        this.dataId = dataId;
        this.reasonId = reasonId;
        this.wastageMemo = wastageMemo;
        this.judgeStageChangedPojo = judgeStageChangedPojo;
    }
}
